package com.cgl.service.imp;

import com.cgl.mapper.ReadingRecordMapper;
import com.cgl.pojo.ReadingRecord;
import com.cgl.service.ReadingRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ReadingRecordServiceImp implements ReadingRecordService {
    /**
     *  @Autowired
     *  private ReadingRecordMapper readingRecordMapper;
     */
    @Autowired
    private ReadingRecordMapper readingRecordMapper;

    /**
     * 添加阅读记录
     * @param readingRecord 阅读记录
     * @return 成功返回1，失败返回0
     */
    @Override
    public int addReadingRecord(ReadingRecord readingRecord) {
        return 0;
    }
}
